package com.aspose.cells;

class zbxx extends zcdb {
   zbxx(TableStyleCollection var1) throws Exception {
      this.d = 508;
      byte var2 = 4;
      int var5;
      if (var1.b() != null) {
         var5 = var2 + 4 + var1.b().length() * 2;
      } else {
         var5 = var2 + 4;
      }

      if (var1.a() != null) {
         var5 += 4 + var1.a().length() * 2;
      } else {
         var5 += 4;
      }

      this.c = new byte[var5];
      byte[] var3 = new byte[]{-1, -1, -1, -1};
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getCount()), 0, this.c, 0, 4);
      byte var4 = 4;
      int var6;
      if (var1.a() != null) {
         var6 = zcch.a(this.c, var4, var1.a());
      } else {
         System.arraycopy(var3, 0, this.c, var4, 4);
         var6 = var4 + 4;
      }

      if (var1.b() != null) {
         zcch.a(this.c, var6, var1.b());
      } else {
         System.arraycopy(var3, 0, this.c, var6, 4);
         var6 += 4;
      }

   }
}
